import axios from "axios";
import request from './http';

const base = "http://192.168.1.60:8888/";

export const myGet = (url, params) => request.get(`${base}${url}`, { params })
export const myPost = (url, params = undefined) => request.post(`${base}${url}`, { ...params });